\hypertarget{c_grass_8cpp}{\section{E\-:/!代码工厂/3\-D引擎/c\-Grass.cpp 文件参考}
\label{c_grass_8cpp}\index{E\-:/!代码工厂/3\-D引擎/c\-Grass.\-cpp@{E\-:/!代码工厂/3\-D引擎/c\-Grass.\-cpp}}
}
{\ttfamily \#include \char`\"{}c\-Grass.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}random\-\_\-factory.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}c\-Terrain\-V1.\-h\char`\"{}}\\*
\subsection*{变量}
\begin{DoxyCompactItemize}
\item 
const int \hyperlink{c_grass_8cpp_a900f75b879ffb6d16dc8254c995c50da}{N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K} = 400
\item 
D3\-D\-V\-E\-R\-T\-E\-X\-E\-L\-E\-M\-E\-N\-T9 \hyperlink{c_grass_8cpp_a6dce22d4abd986ee2488e13981c6e93b}{Grass\-Vertex\-Elements} \mbox{[}$\,$\mbox{]}
\end{DoxyCompactItemize}


\subsection{变量说明}
\hypertarget{c_grass_8cpp_a6dce22d4abd986ee2488e13981c6e93b}{\index{c\-Grass.\-cpp@{c\-Grass.\-cpp}!Grass\-Vertex\-Elements@{Grass\-Vertex\-Elements}}
\index{Grass\-Vertex\-Elements@{Grass\-Vertex\-Elements}!cGrass.cpp@{c\-Grass.\-cpp}}
\subsubsection[{Grass\-Vertex\-Elements}]{\setlength{\rightskip}{0pt plus 5cm}D3\-D\-V\-E\-R\-T\-E\-X\-E\-L\-E\-M\-E\-N\-T9 Grass\-Vertex\-Elements\mbox{[}$\,$\mbox{]}}}\label{c_grass_8cpp_a6dce22d4abd986ee2488e13981c6e93b}
{\bfseries 初始值\-:}
\begin{DoxyCode}
 
\{
        \{0, 0,  D3DDECLTYPE\_FLOAT3, D3DDECLMETHOD\_DEFAULT, 
      D3DDECLUSAGE\_POSITION, 0\},
        \{0, 12, D3DDECLTYPE\_FLOAT3, D3DDECLMETHOD\_DEFAULT, 
      D3DDECLUSAGE\_TEXCOORD, 0\},
        \{0, 24, D3DDECLTYPE\_FLOAT2, D3DDECLMETHOD\_DEFAULT, 
      D3DDECLUSAGE\_TEXCOORD, 1\},
        \{0, 32, D3DDECLTYPE\_FLOAT1, D3DDECLMETHOD\_DEFAULT, 
      D3DDECLUSAGE\_TEXCOORD, 2\},
        \{0, 36, D3DDECLTYPE\_D3DCOLOR, D3DDECLMETHOD\_DEFAULT, D3DDECLUSAGE\_COLOR
      , 0\},

\}
\end{DoxyCode}
\hypertarget{c_grass_8cpp_a900f75b879ffb6d16dc8254c995c50da}{\index{c\-Grass.\-cpp@{c\-Grass.\-cpp}!N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K@{N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K}}
\index{N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K@{N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K}!cGrass.cpp@{c\-Grass.\-cpp}}
\subsubsection[{N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}const int N\-U\-M\-\_\-\-G\-R\-A\-S\-S\-\_\-\-B\-L\-O\-C\-K = 400}}\label{c_grass_8cpp_a900f75b879ffb6d16dc8254c995c50da}
